<%--
  Created by IntelliJ IDEA.
  User: hiugiak
  Date: 2018/11/11
  Time: 9:11 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<nav class="gpg-navbar uk-navbar uk-navbar-attached" data-uk-sticky>
    <div class="uk-container uk-container-center">
        <div class="uk-navbar-nav uk-hidden-small">

            <a class="uk-navbar-brand" href="${pageContext.request.contextPath}/">
                <img class="uk-margin uk-margin-remove" src="${pageContext.request.contextPath}/images/logo_black.svg" width="30" height="30" title="毕业设计指导" alt="毕业设计指导">
            </a>
            <ul class="uk-navbar-nav">

            </ul>
        </div>
        <div class="uk-navbar-flip uk-hidden-small">
            <ul class="uk-navbar-nav">
                <li class="uk-parent" data-uk-dropdown="" aria-haspopup="true" aria-expanded="false">
                    <a>消息</a>
                    <div class="uk-dropdown uk-dropdown-navbar uk-dropdown-bottom" style="top: 40px; left: 0">
                        <ul class="uk-nav uk-nav-navbar">
                            <li class="uk-nav-header">消息</li>
                            <li><a href="${pageContext.request.contextPath}/inbox?mode=U">未读消息</a></li>
                        </ul>
                    </div>
                </li>
                <li class="uk-parent" data-uk-dropdown="" aria-haspopup="true" aria-expanded="false">
                    <a href="">用户</a>
                    <div class="uk-dropdown uk-dropdown-navbar uk-dropdown-bottom" style="top: 40px; left: 0;">
                        <ul class="uk-nav uk-nav-navbar">
                            <li><a href="${pageContext.request.contextPath}/teacher/update_info">账户信息</a></li>
                            <li class="uk-nav-divider"></li>
                            <li><a href="${pageContext.request.contextPath}/logout">退出</a></li>
                        </ul>
                    </div>
                </li>
            </ul>
        </div>
        <a href="#gpg_drawer" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas></a>
        <div class="uk-navbar-brand uk-navbar-center uk-visible-small">
            <img src="${pageContext.request.contextPath}/images/logo_black.svg" width="30" height="30" title="毕业设计指导" alt="毕业设计指导">
        </div>
    </div>
</nav>
<div class="uk-offcanvas" id="gpg_drawer">
    <div class="uk-offcanvas-bar">
        <ul class="uk-nav uk-nav-offcanvas">
            <li><a href="${pageContext.request.contextPath}/">主页</a></li>

            <jsp:include page="menus/teacher.jsp">
                <jsp:param name="navSelection" value="${pageContext.request.getParameter('navSelection')}" />
            </jsp:include>

            <li class="uk-nav-divider"></li>
            <li><a href="${pageContext.request.contextPath}/teacher/update_info">账户信息</a></li>
            <li><a href="${pageContext.request.contextPath}/inbox?mode=U">消息</a></li>

            <li class="uk-nav-divider"></li>
            <li><a href="${pageContext.request.contextPath}/logout">退出</a></li>
        </ul>
    </div>
</div>
</body>
</html>
